package com.sloan.community.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.data.relational.core.mapping.Table;
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name="t_comment")
public class Comment extends BasePO{


    /** 用户ID */
    private Long userId ;
    /** 文章ID */
    private Long articleId ;
    /** 是否拥有者(0-不,1-是) */
    @Deprecated
    private Boolean owner ;
    /** 父级评论ID */
    private Long parentCommentId ;
    /** 回复人 */
    private Long replyUserId ;
    /** 正文 */
    private String content ;
    /** 是否展示(0-不,1-是) */
    private Boolean status ;

    /**点赞数量*/
    private Long likeCount ;

}
